﻿using UnityEngine;
using System.Collections;

public class levelchange : MonoBehaviour {

	public void ChangeLevel(string levelname) {
		if (Application.loadedLevelName != levelname)
			Application.LoadLevel (levelname);
	}

	public void Exit() {
		Application.Quit ();
	}

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
